package com.duomn.mybatis.plugins.tools;

import javax.sql.DataSource;

import org.apache.ibatis.session.TransactionIsolationLevel;
import org.apache.ibatis.transaction.Transaction;
import org.mybatis.spring.transaction.SpringManagedTransactionFactory;

public class SpringManagedTransactionFactoryNewConn extends SpringManagedTransactionFactory {

	 public Transaction newTransaction(DataSource dataSource, TransactionIsolationLevel level, boolean autoCommit) {
	   return new SpringManagedTransactionNewConn(dataSource);
	 }

}
